package com.ruoyi.patrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检查记录填报对象 pt_check_answer
 * 
 * @author Du
 * @date 2023-11-21
 */
public class PtCheckAnswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 检查记录 */
    @Excel(name = "检查记录")
    private Long checkRecordId;

    /** 问题名称 */
    @Excel(name = "问题名称")
    private String questionName;

    /** 回答结果 */
    @Excel(name = "回答结果")
    private String answerResult;

    /** 删除标志 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCheckRecordId(Long checkRecordId) 
    {
        this.checkRecordId = checkRecordId;
    }

    public Long getCheckRecordId() 
    {
        return checkRecordId;
    }
    public void setQuestionName(String questionName) 
    {
        this.questionName = questionName;
    }

    public String getQuestionName() 
    {
        return questionName;
    }
    public void setAnswerResult(String answerResult) 
    {
        this.answerResult = answerResult;
    }

    public String getAnswerResult() 
    {
        return answerResult;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("checkRecordId", getCheckRecordId())
            .append("questionName", getQuestionName())
            .append("answerResult", getAnswerResult())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
